
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Employee;
import cn.edu.scau.cmi.hombio.domain.Role;
import cn.edu.scau.cmi.hombio.domain.RoleEmployee;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for RoleEmployee entities
 * 
 */
public interface RoleEmployeeService {

	/**
	* Delete an existing Employee entity
	* 
	 */
	public RoleEmployee deleteRoleEmployeeEmployee(Integer roleemployee_id, Integer related_employee_id);

	/**
	* Save an existing Role entity
	* 
	 */
	public RoleEmployee saveRoleEmployeeRole(Integer id, Role related_role);

	/**
	* Load an existing RoleEmployee entity
	* 
	 */
	public Set<RoleEmployee> loadRoleEmployees();

	/**
	 */
	public RoleEmployee findRoleEmployeeByPrimaryKey(Integer id_1);

	/**
	* Delete an existing Role entity
	* 
	 */
	public RoleEmployee deleteRoleEmployeeRole(Integer roleemployee_id_1, Integer related_role_id);

	/**
	* Save an existing RoleEmployee entity
	* 
	 */
	public void saveRoleEmployee(RoleEmployee roleemployee);

	/**
	* Delete an existing RoleEmployee entity
	* 
	 */
	public void deleteRoleEmployee(RoleEmployee roleemployee_1);

	/**
	* Return a count of all RoleEmployee entity
	* 
	 */
	public Integer countRoleEmployees();

	/**
	* Save an existing Employee entity
	* 
	 */
	public RoleEmployee saveRoleEmployeeEmployee(Integer id_2, Employee related_employee);

	/**
	* Return all RoleEmployee entity
	* 
	 */
	public List<RoleEmployee> findAllRoleEmployees(Integer startResult, Integer maxRows);
}